<template>
  <div id="app">
    <Header v-if="!$route.meta.isHeaderHide" />
    <router-view />
    <Footer v-if="!$route.meta.isFooterHide" />
  </div>
</template>

<script>
import Header from './components/Header';
import Footer from './components/Footer';

export default {
  name: 'App',
  components: {
    Header,
    Footer,
  },
};
</script>

<style>
html,
body,
#app {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
</style>
